OPC Studio User's Guide and Reference
Exception Property (UABaseVariable<TValue,TAttribute>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.InformationModel Namespace > UABaseVariable<TValue,TAttribute> Class : Exception Property
Contains the exception. A null reference if the operation has been successful.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<DefaultValueAttribute("")>
<MappingTagAttribute("OpcLabs.EasyOpc.UA.InformationModel.VariableValue")>
<UADataAttribute(UADataMappingKind.Exception)>
Public Property Exception As Exception
'Usage
 
Dim instance As UABaseVariable(Of TValue,TAttribute)
Dim value As Exception
 
instance.Exception = value
 
value = instance.Exception
[CanBeNull()]
[DefaultValue("")]
[MappingTag("OpcLabs.EasyOpc.UA.InformationModel.VariableValue")]
[UAData(UADataMappingKind.Exception)]
public Exception Exception {get; set;}
[CanBeNull()]
[DefaultValue("")]
[MappingTag("OpcLabs.EasyOpc.UA.InformationModel.VariableValue")]
[UAData(UADataMappingKind.Exception)]
public:
property Exception^ Exception {
   Exception^ get();
   void set (    Exception^ value);
}
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also